package com.vcc.service.boss.request.bossUser;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Data
@Setter
@Getter
public class BossRegisterRequest implements Serializable {

    @NotBlank(message = "联系方式不能为空")
    private String account;

    @Email(message = "邮箱格式不对")
    @NotBlank(message = "请填写邮箱")
    private String email;

    @NotBlank(message = "用户名不能为空")
    private String username;

    private Long roleId;

    @NotBlank(message = "密码不能为空")
    private String password;
}
